@(formJogador: Form[Jogador])

@import helper._
@import helper.twitterBootstrap._

@mainAdministrador("Editar"){

        @form(action = routes.Ctrl_Administrador.salvarAtualizacao(), 'id -> "formDeInserir"){
                <fieldset>
	                <legend>
	                	<h3>Editar</h3>
	                </legend>
	                
	                @if(flash.containsKey("erro")){
						<div class="alert alert-error">
							<a class="close" data-dismiss="alert">×</a>
							<b>@flash.get("erro")</b>
						</div>
					}
	                
	                <input type="hidden" name="login" value="@formJogador("login").value"> 
	                @inputPassword(formJogador("senha"), '_label -> "Senha", 'placeholder -> "Senha", 'id -> "senhaForm", '_showConstraints -> false)
	                @inputText(formJogador("nome"), '_label -> "Nome", 'placeholder -> "Nome", 'id -> "nomeForm", '_showConstraints -> false)
	                @inputText(formJogador("email"), '_label -> "Email", 'placeholder -> "Email", 'id -> "emailForm", '_showConstraints -> false)
	                @inputRadioGroup(formJogador("sexo"), options = options("M"->"Masculino","F"->"Feminino"), '_label -> "Sexo", '_showConstraints -> false)
	                
	                <div class="actions">
	                	<input type="submit" class="btn btn-primary" value="Enviar"/>
	                	<a href="/administrador/listarAdministrador" class="btn">Cancelar</a>
                	</div>
                </fieldset>
        }
}
